package com.indexingsystem.boss.Vo;

import java.util.Date;
import java.util.List;

import com.indexingsystem.boss.entity.IdxProductTypeWithBLOBs;

public class ProductTypeVo {
	private Integer categoryId;
	private Integer parentId;
	private String arrParentId;
	private String arrChildId;
	private Integer child;
	private String name;
	private Integer status;
	private String createBy;
	private Date createTime;
	private String description;
	private List<IdxProductTypeWithBLOBs> parentProductTypeVoList;
	public ProductTypeVo() {
		super();
		// TODO Auto-generated constructor stub
	}
	public ProductTypeVo(Integer categoryId, Integer parentId, String arrParentId, String arrChildId, Integer child, String name, Integer status,
			String createBy, Date createTime, String description, List<IdxProductTypeWithBLOBs> parentProductTypeVoList,
			List<IdxProductTypeWithBLOBs> childProductTypeVoList) {
		super();
		this.categoryId = categoryId;
		this.parentId = parentId;
		this.arrParentId = arrParentId;
		this.arrChildId = arrChildId;
		this.child = child;
		this.name = name;
		this.status = status;
		this.createBy = createBy;
		this.createTime = createTime;
		this.description = description;
		this.parentProductTypeVoList = parentProductTypeVoList;
		ChildProductTypeVoList = childProductTypeVoList;
	}
	private List<IdxProductTypeWithBLOBs> ChildProductTypeVoList;
	public Integer getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(Integer categoryId) {
		this.categoryId = categoryId;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public String getArrParentId() {
		return arrParentId;
	}
	public void setArrParentId(String arrParentId) {
		this.arrParentId = arrParentId;
	}
	public String getArrChildId() {
		return arrChildId;
	}
	public void setArrChildId(String arrChildId) {
		this.arrChildId = arrChildId;
	}
	public Integer getChild() {
		return child;
	}
	public void setChild(Integer child) {
		this.child = child;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getCreateBy() {
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public List<IdxProductTypeWithBLOBs> getParentProductTypeVoList() {
		return parentProductTypeVoList;
	}
	public void setParentProductTypeVoList(List<IdxProductTypeWithBLOBs> parentProductTypeVoList) {
		this.parentProductTypeVoList = parentProductTypeVoList;
	}
	public List<IdxProductTypeWithBLOBs> getChildProductTypeVoList() {
		return ChildProductTypeVoList;
	}
	public void setChildProductTypeVoList(List<IdxProductTypeWithBLOBs> childProductTypeVoList) {
		ChildProductTypeVoList = childProductTypeVoList;
	}
	

	public ProductTypeVo(IdxProductTypeWithBLOBs idxProductTypeWithBLOBs) {
		super();
		this.categoryId = idxProductTypeWithBLOBs.getCategoryId();
		this.parentId = idxProductTypeWithBLOBs.getParentid();
		this.arrParentId = idxProductTypeWithBLOBs.getArrparentid();
		this.arrChildId = idxProductTypeWithBLOBs.getArrchildid();
		this.child = idxProductTypeWithBLOBs.getChild();
		this.name = idxProductTypeWithBLOBs.getName();
		this.status = idxProductTypeWithBLOBs.getStatus();
		this.createBy = idxProductTypeWithBLOBs.getCreateBy();
		this.createTime = idxProductTypeWithBLOBs.getCreateTime();
		this.description = idxProductTypeWithBLOBs.getDescription();
	}
 

}
